# 访客 　编写一个程序，提示用户输入名字。用户做出响应后，将其名字写入文件guest.txt中。

# guest.py
guest_name = input("Please enter your name: ")
filename = 'guest.txt'
if guest_name != '':
	with open(filename, 'w') as file_object:
		file_object.write(guest_name+'\n')
